notNull

inline fun <T> notNull(value: T?): KOptional<T>(source)

Creates a new KOptional without the provided value, treating null as empty.